
        <pre class="docs-method-signature"><code>V.rectToPath(r)</code></pre>
        <p>Convert a rectangle <code>r</code> to SVG path commands. <code>r</code> is an object of the form <code>{ x: [number], y: [number], width: [number], height: [number], top-ry: [number], top-ry: [number], bottom-rx: [number], bottom-ry: [number] }</code> where <code>x, y, width, height</code> are the usual rectangle attributes and <code>[top-/bottom-]rx/ry</code> allows for specifying radius of the rectangle for all its sides (as opposed to the built-in SVG rectangle that has only <code>rx</code> and <code>ry</code> attributes).</p>